package com.westos.mvc.westos;

import com.westos.mvc.SpringUtil;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class SpringLoaderListener implements ServletContextListener {
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        //初始化spring
        SpringUtil.getInstance();
    }

    public void contextDestroyed(ServletContextEvent servletContextEvent) {

    }
}